home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fritz: All Fritz
/
All Fritz.zip
/
All Fritz
/
FILES
/
BUSINESS
/
ESA.LZH
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-02-23
|
2KB
|
69 lines
echo off
CLS
echo Preparing to Install the Employee Scheduling Assistant
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo off
If X%1X == XX SET DR=C:
If X%1X == XC:X SET DR=C:
If X%1X == Xc:X SET DR=C:
If X%1X == XD:X SET DR=D:
If X%1X == Xd:X SET DR=D:
If X%1X == XE:X SET DR=E:
If X%1X == Xe:X SET DR=E:
If X%1X == XF:X SET DR=F:
If X%1X == Xf:X SET DR=F:
echo off
MD %DR%\ESASSIST
If X%1X == XX GOTO GOON
If X%1X == XC:X GOTO GOON
If X%1X == Xc:X GOTO GOON
If X%1X == XD:X GOTO GOON
If X%1X == Xd:X GOTO GOON
If X%1X == XE:X GOTO GOON
If X%1X == Xe:X GOTO GOON
If X%1X == XF:X GOTO GOON
If X%1X == Xf:X GOTO GOON
GOTO BADDRIVE
:GOON
echo off
CLS
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Installing the Employee Scheduling Assistant to:
echo ---- Fixed Disk %DR% in Directory ESASSIST ----
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Installing programs....
echo ~~~~~~~~~~~~~~~~~~~~~~~
echo off
COPY ESA.BAT %DR%\
COPY ESAORG.DAT %DR%\ESASSIST
COPY ESA.EXE %DR%\ESASSIST
COPY ESAHELP.DOC %DR%\ESASSIST
COPY ESAHELP.IND %DR%\ESASSIST
echo off
CLS
echo Programs are installed....
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Installing data files.....
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~
MD %DR%\ESASSIST\ESA1DIR
COPY ESA1992.DAT %DR%\ESASSIST\ESA1DIR
COPY EIND1992.DAT %DR%\ESASSIST\ESA1DIR
COPY HOL1992.DAT %DR%\ESASSIST\ESA1DIR
COPY ESA1993.DAT %DR%\ESASSIST\ESA1DIR
COPY EIND1993.DAT %DR%\ESASSIST\ESA1DIR
COPY HOL1993.DAT %DR%\ESASSIST\ESA1DIR
COPY ESAMGR.DAT %DR%\ESASSIST\ESA1DIR
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Starting application........
%DR%
CD\
ESA
GOTO ENDINST
:BADDRIVE
CLS
echo Not an acceptable Disk Drive specifeid...
echo ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
echo Example, use INSTALL D: for D Drive, or INSTALL E: for E Drive
echo off
:ENDINST